package com.ciko.code.http.Req;

import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;

/**
 * Created by ciko on 2015/12/10.
 */
public class AddTripFlowReq extends BaseRequest{

    public AddTripFlowReq(String tripAndress, long tripTime, long returnTime,double tripDays,String tripReason,String imgUrl,Integer nextUserId,String nextUserName) {
        init();
        put("tripAndress", tripAndress);
        put("tripTime", tripTime);
        put("returnTime", returnTime);
        put("tripDays", tripDays);
        put("tripReason", tripReason);
        put("imgUrl", imgUrl);
        put("nextUserId", nextUserId);
        put("nextUserName", nextUserName);

        putCid();
    }

    @Override
    public String getUrl() {
        return Api.addTripFlow;
    }

    @Override
    public Class<?> getResponseClazz() {
        return AddTripFlowRes.class;
    }
}
